package com.aliyun.messagemgt.dto.vo;


import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * @author
 * @date
 */
public class StateHandleVO {

    private Byte stateHandle;

    public Byte getStateHandle() {
        return stateHandle;
    }

    public StateHandleVO setStateHandle(Byte stateHandle) {
        this.stateHandle = stateHandle;
        return this;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (!(o instanceof StateHandleVO)) {
            return false;
        }

        StateHandleVO that = (StateHandleVO) o;

        return stateHandle != null ? stateHandle.equals(that.stateHandle) : that.stateHandle == null;
    }

    @Override
    public int hashCode() {
        return stateHandle != null ? stateHandle.hashCode() : 0;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
